1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


I-369 If you are having problems with your network since you installed WINS, you can tweak the following registry entries to help improve performance.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: NameSrvQueryCount
Data Type: REG_DWORD
Value: 3

This value sets the number of times that NetBT queries the WINS server before receiving a response.

I-370 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: Timeout
Data Type: REG_DWORD
Value: 1500

This value is the time, in milliseconds, NetBT waits before sending the next query in a series of successive queries.

I-371 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: SessionKeepAlive
Data Type: REG_DWORD
Value: 3,600,000

This value is the interval, in milliseconds, that NetBT waits between sending keep-alive packets for a particular session.

I-372 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\NetBt\Parameters
Value Name: SizeSmall/Medium/Large
Data Type: REG_DWORD
Value: 1

This value regulates the size of the name table, which stores local and remote names. Valid values are 1 = small (16 entries), 2 = medium (128 entries) and 3 = large (256 entries).

PPTP

You just installed PPTP and are afraid that you may have exposed your network to unwanted attacks. Well, no network is 100 percent secure, but these registry entries let you add a little more security to PPTP.

I-373 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\RasPPTPE\ Parameters\Configuration
Value Name: AuthenticateIncomingCalls
Data Type: REG_DWORD
Value: 1

I-374 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\RasPPTPE\ Parameters\Configuration
Value Name: PeerClientIPAdresses
Data Type: REG_MULTI_SZ
Value: <valid IP addresses>

Using these two values, you can effectively control who can access your network via PPTP. If the AuthenticateIncomingCalls value is set to 0, only the clients whose IP addresses match values stored in the PeerClientIPAdresses value are allowed access. If the AuthenticateIncomingCalls value is enabled and no values are contained in the PeerClientIPAddress value, nobody can access your network via PPTP.


Previous Table of Contents Next